package com.wanxi.dao;

import com.wanxi.model.UserModel;

/**
 * @author Li
 * @Date 2023/5/4 9:07
 */
public interface UserDao extends CommonDao<UserModel>{
 //验证姓名是否相同
 boolean findSameName(UserModel model);
 //验证电话是否相同
 boolean findSamePhone(UserModel model);
 //验证邮箱是否相同
 boolean findSameEmail(UserModel model);
 //登录查找用户名和密码是否匹配
 boolean findNameAndPass(UserModel userModel);
//修改密码
 Integer updatePassword(UserModel userModel);
//重置密码
 Integer resetPassword(UserModel userModel);


}
